Tom,
I am struggling to get a fault log to work on our factory equipment. All I need is to be able to write out a fault to a text file on the desktop. In a previous post you mentioned that appending to a text file is not supported. I have been trying a work around with little success.
I noticed there is a file saved in this location:
C:\KMotion433q\KMotion\Data\LogFile.txt
This seems to log all of the data sent to the console. I was thinking that maybe I can use this rather than writing my faults to a text file on the desktop. This approach seems to have some limitations, would you correct me if I am wrong.
- KMotion has to be running for files to be saved in the "LogFile". Normally we only have KMotionCNC opened. For this to work we would need to have KMotion running at all times?
- The file is not live - I did a test writing to the console. It appears that the data doesnt enter the log file until after KMotion is closed. At that point it saves everything entered on the console to the log file. Is this correct?
I really need to have a way to inform the operator what is wrong when a machine faults. Could you please help me figure out a way to display machine faults to the operator? Ideally I would have them open the text file saved to the desktop. Do you know if appending a file will be supported in the near future?
Thanks,
Scott